ARS Network Addressing

CygNet services use standard TCP/IP network addressing. Clients establish communication with the Address Resolution Service (ARS) to obtain the TCP/IP network addresses of the CygNet services. All client and service computers must be configured with an IP address and a subnet mask. If communication between subnets is required, the machines must also be configured with a gateway during installation.

IP Addresses

Every computer that has an ARS must have a static IP address. The IP address is required for effective client-to-service and service-to-service communication.

Client-to-Service Communication

The ARS is responsible for client-to-service communication. When a client needs to communicate with a service, it contacts the ARS to find out if the service is operational and, if so, what its IP address is. Once the IP address is obtained, the client computer caches the address in memory and communicates directly with the service. In between connects, if a service’s IP address changes, the client will timeout when re-attempting to establish communication with the service. After the timeout, the client will obtain the service’s new address from the ARS.

The client attempts to locate an ARS by 1) contacting the ARS addresses listed in the computer registry. If multiple ARSs are listed and the first ARS does not respond, the client will works its way down list. If this method fails, the client will attempt to locate an ARS by 2)* using host name resolution (Domain Name Server or Hosts file) for the name "SVCDIR." And, if that fails the client will attempt to locate an ARS by 3) attempting a subnet broadcast. If the broadcast is unsuccessful (which would be the case if the ARS is on a different subnet) the CygNet Domain Connection Utility can be used to connect the client computer to the ARS. Once successful communications are established, the name and IP address of the ARS is written to the client computer’s registry.

*Note: The second option, host name resolution, is not recommended as it requires manual manipulation of the DNS or Hosts file on each client computer.

Service-to-Service Communication

Service-to-service communication is the same as client-to-service communication. In the case of service-to-service communication the initiating service acts as a client and contacts the ARS for the operational status and IP address of the service for which it wants to communicate.